<?php 
include_once($_SERVER["DOCUMENT_ROOT"]."/bolsa_trabajo/util/session_control_admon.php");
include_once($_SERVER["DOCUMENT_ROOT"]."/bolsa_trabajo/dto/aspirante_dto.php");
include_once($_SERVER["DOCUMENT_ROOT"]."/bolsa_trabajo/util/session_helper.php");
include_once($_SERVER["DOCUMENT_ROOT"]."/bolsa_trabajo/util/combos.php");



?>


<!DOCTYPE html>
<html lang="en">
<head><title>- SITRABS - Aprobacion de empleadores</title>
<meta charset="utf-8">
<link href="../css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" media="screen"
	href="../css/bootstrap3-datetimepicker.css" />
 <link href="css/style.css" rel="stylesheet">

<script src="../js/bootstrap.min3.js"></script> 
<link href="../css/bootstrap.min3.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" media="screen"
	href="../css/bootstrap3-datetimepicker.css" />
 
      <script src="../js/jquery.min.js"></script> 

<script src="../js/bootstrap.min.js"></script>
<script src="../js/bootstrap3-datepicker.js"></script> 



</head>

<body>

	<div class="container">
	<nav class="navbar navbar-default navbar-static">
        <div class="navbar-header">
            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#b-menu-2">
                <span class="sr-only">Navegación</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand">Aprobación de empleadores</a>
        </div>

        <!-- submenu elements for #b-menu-2 -->
        <div class="collapse navbar-collapse" id="b-menu-2">
          <ul class="nav navbar-nav">
 <li><a href="../home/home_admon.php"><span class="glyphicon glyphicon-home"></span> Inicio</a></li>
           <li><a href="../help_usadmin.html"><span class="glyphicon glyphicon-question-sign"></span> Ayuda</a></li>
           <li><a href="../action/action_logout.php"><span  class="glyphicon glyphicon-remove"></span> Cerrar Sesión</a></li>
        
            <li class="dropdown">
             <ul class="dropdown-menu">
			 
 <li><a href="../home/home_admon.php"><span class="glyphicon glyphicon-home"></span> Inicio</a></li>
           <li><a href="../help_usadmin.html"><span class="glyphicon glyphicon-question-sign"></span> Ayuda</a></li>
           <li><a href="../action/action_logout.php"><span  class="glyphicon glyphicon-remove"></span> Cerrar Sesión</a></li>
        
          </ul> 
        </div><!-- /.nav-collapse -->
      </nav>
	</div>
	<div class="container">

		

			<form class="form-horizontal" action="../action/admin/action_aprobar_empleadores.php"
				method="post" enctype="multipart/form-data">

				<div class="row">
					<?php 
					

					if($msgExito != null){
					echo "<div class='alert alert-info'> " .$msgExito ." </div>";
				}

				if($msgError != null){
					echo "<div class='alert alert-warning'> " .$msgError ." </div>";
				}
					
					

				SessionHelper::clearMsg();
					
				?>

				</div>



				<div class="panel panel-default">
					<div class="panel-heading"> <h4>Aprobaciones de Empleadores Pendientes </h4></div>
					<div class="panel-body">
											
			
						<div class="row">
						<center>
							<div>

								<a class="btn btn-default navbar-btn" href="<?php echo $home?>">Regresar a Inicio</a>
								<button type="submit" class="btn btn-primary navbar-btn"
									name="action" value="load">Aprobaciones Pendientes</button>
							</div></center>

						</div>
					</div>
					<div class="table-responsive"> 
					<table class="table table-condensed table-hover">
					<?php 
						if (isset($_SESSION['resultadoBusqueda'])) {
							$res = $_SESSION['resultadoBusqueda'];
							echo $res;
							unset($_SESSION['resultadoBusqueda']);
							}
						?>
					</table>
					</div>
				</div>
			</form> 
 

	</div><script type="text/javascript" src="js/bootstrap.min.js"></script> 


 <script type="text/javascript" src="../js/bootstrap.min.js"></script> 
	<!-- /container -->
</body>
</html>
